package com.usian.student.feign;

import com.usian.common.ResultVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

//你要调用哪个接口
@FeignClient("usian-class")
public interface ClassFeignService {
//class类路径。方法路径
    @RequestMapping("class/info")
    public ResultVo info(int id);

}
